package com.himilco.ocana.workflow.core.common;

import java.util.Date;

public class DateUtils {

	private Date startDate;
	
	public DateUtils() {
		startDate = new Date();
	}
	
	Boolean isDateGreater5mn() {

		Date d = new Date(); 
		boolean status=false;
		if (startDate.getDay() == d.getDay()) {

			if (startDate.getHours() == d.getHours()) {
				if (startDate.getMinutes() == d.getMinutes()-5) {
					status= true;
				}
			}

		} 
		return status;
	}
}
